{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 53,
   "id": "cf4cb4fd",
   "metadata": {},
   "outputs": [
    {
     "ename": "SyntaxError",
     "evalue": "EOL while scanning string literal (<ipython-input-53-9c95b8df1f65>, line 13)",
     "output_type": "error",
     "traceback": [
      "\u001b[1;36m  File \u001b[1;32m\"<ipython-input-53-9c95b8df1f65>\"\u001b[1;36m, line \u001b[1;32m13\u001b[0m\n\u001b[1;33m    '\u001b[0m\n\u001b[1;37m     ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m EOL while scanning string literal\n"
     ]
    }
   ],
   "source": [
    "# 1. 调用requests模块（Google，chrome 浏览器）\n",
    "import requests\n",
    "\n",
    "# 2. 请求方法：GET\n",
    "\n",
    "\n",
    "geo_url = \"https://restapi.amap.com/v3/place/text?parameters\"\n",
    "\n",
    "# 4. 准备参数，用于交换数据 payload|\n",
    "payload = {\n",
    "    \"key\" : \"96eb298fb7a5841005aba152185eb035\",\n",
    "    \"keywords\" : \"珠海美食\"\n",
    "    '\n",
    "\n",
    "\n",
    "    \n",
    "    \n",
    "    \n",
    "}\n",
    "\n",
    "# 5.请求\n",
    "\n",
    "r = requests.get(url=geo_url,params=payload)\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "2281d069",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "id": "df653cfb",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 47,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "id": "e1320b75",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '900',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': 'B02F402KDD',\n",
       "   'address': '敬业路88号旺角百货1层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '16.00',\n",
       "    'opentime2': '00:00-24:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '24小时营业',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/50923116ffd64664efd03b861d97d06d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/354c876bcad3b4669087a2bad84d6330'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0b7b2d2ada04dbeb45b89fa775a66ebf'}],\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '香洲区',\n",
       "   'name': '麦当劳(旺角百货店)',\n",
       "   'location': '113.525574,22.271042',\n",
       "   'tel': '0756-2618330;0756-2618303;4000517117',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F402KYS'},\n",
       "  {'parent': 'B02F401ITE',\n",
       "   'address': '井岸镇新民路步行街144号肯德基餐厅',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '31.00',\n",
       "    'opentime2': '06:00-23:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '06:00-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cf64ea8e22533b4bba864a3b10c322fb'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0fa22626ef3c5ebb530d153cc0967b64'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1b48843aa9f5b668242fb5528bf8785d'}],\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '324',\n",
       "   'adname': '斗门区',\n",
       "   'name': '肯德基(井岸步行街店)',\n",
       "   'location': '113.296577,22.210070',\n",
       "   'tel': '4009200715;0756-5111163',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F40OIDE'},\n",
       "  {'parent': [],\n",
       "   'address': [],\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '115.00',\n",
       "    'opentime2': '07:30-22:30',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '07:30-22:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;中餐厅;海鲜酒楼',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ae185e35c9982c4b1375454dec0bb890'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b128a173c02db54c98a21678d9ff4f21'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/056359df1d439b18d310f709bb158ef5'}],\n",
       "   'typecode': '050119',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '香洲区',\n",
       "   'name': '新海利海鲜城',\n",
       "   'location': '113.546937,22.221974',\n",
       "   'tel': '0756-8899333;0756-8889813',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFIWPGNT'},\n",
       "  {'parent': [],\n",
       "   'address': '',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '24.00',\n",
       "    'opentime2': '00:00-24:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '24小时营业',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/50923116ffd64664efd03b861d97d06d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0b7b2d2ada04dbeb45b89fa775a66ebf'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/02a9c69137077c0e0eafacc237656e00'}],\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '金湾区',\n",
       "   'name': '麦当劳(虹晖一路店)',\n",
       "   'location': '113.343645,22.135959',\n",
       "   'tel': '0756-7259800;4000517117',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFFOZR23'},\n",
       "  {'parent': 'B02F402VC4',\n",
       "   'address': '映月路65-67号1层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '22.00',\n",
       "    'opentime2': '06:00-23:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '06:00-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/be1d148709c9307f451ec7d293c370c5'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0fa22626ef3c5ebb530d153cc0967b64'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1b48843aa9f5b668242fb5528bf8785d'}],\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '金湾区',\n",
       "   'name': '肯德基(三灶映月店)',\n",
       "   'location': '113.350655,22.048432',\n",
       "   'tel': '4009208801;0756-7511166',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F402VC6'},\n",
       "  {'parent': 'B02F4009B5',\n",
       "   'address': '夏湾路夏湾市场一层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '57.00',\n",
       "    'opentime2': '00:00-24:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '24小时营业',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/be1d148709c9307f451ec7d293c370c5'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/68e2797897c6cadb5f5307c8fff1a6ab'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cf64ea8e22533b4bba864a3b10c322fb'}],\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '香洲区',\n",
       "   'name': '肯德基(夏湾市场店)',\n",
       "   'location': '113.540674,22.224056',\n",
       "   'tel': '4009208801;0756-8884008;0756-8882821',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F402V1Q'},\n",
       "  {'parent': [],\n",
       "   'address': '迎宾南路2083号北岭花园1-2层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '77.00',\n",
       "    'opentime2': '07:30-22:30',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '07:30-22:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;中餐厅;海鲜酒楼',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/343a49d3963d692990fd96201ee35d92'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a23859431c265c9e9cd04b3db01ec10d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a9b0230ee30cfcf697f110cdaff971aa'}],\n",
       "   'typecode': '050119',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '香洲区',\n",
       "   'name': '新海利海鲜美食广场(北岭店)',\n",
       "   'location': '113.551479,22.230882',\n",
       "   'tel': '0756-8882388',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F401IQE'},\n",
       "  {'parent': [],\n",
       "   'address': '拱北情侣南路265号日华商业广场B区1-3层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '157.00',\n",
       "    'opentime2': '08:00-15:00；17:00-22:00',\n",
       "    'rating': '4.9',\n",
       "    'open_time': '08:00-15:00 17:00-22:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;中餐厅;火锅店',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8596d8b147b7ae5051dc10a083e47b2c'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c9c274f1a9ba381b583299837daa412f'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ddd4a41e96d0c1df2582105741a76ee8'}],\n",
       "   'typecode': '050117',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '香洲区',\n",
       "   'name': '金悦轩海鲜酒家(拱北店)',\n",
       "   'location': '113.562387,22.225308',\n",
       "   'tel': '0756-8133133',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F402MO1'},\n",
       "  {'parent': 'B0FFIJZWYN',\n",
       "   'address': '唐家湾镇金凤路393号广珠城轨唐家湾站市政配套综合服务楼1层101-104号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '30.00',\n",
       "    'opentime2': '07:00-23:00',\n",
       "    'rating': '4.7',\n",
       "    'open_time': '07:00-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/50923116ffd64664efd03b861d97d06d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0b7b2d2ada04dbeb45b89fa775a66ebf'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/02a9c69137077c0e0eafacc237656e00'}],\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '香洲区',\n",
       "   'name': '麦当劳(唐家湾店)',\n",
       "   'location': '113.551804,22.362270',\n",
       "   'tel': '0756-3631223;4000517117',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F40PGI6'},\n",
       "  {'parent': 'B02F40OQKF',\n",
       "   'address': '',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '24.00',\n",
       "    'opentime2': '07:00-23:00',\n",
       "    'rating': '4.7',\n",
       "    'open_time': '07:00-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/50923116ffd64664efd03b861d97d06d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0b7b2d2ada04dbeb45b89fa775a66ebf'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/02a9c69137077c0e0eafacc237656e00'}],\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '金湾区',\n",
       "   'name': '麦当劳(三灶店)',\n",
       "   'location': '113.347899,22.051175',\n",
       "   'tel': '0756-7636078;4000517117',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F40Q2JR'},\n",
       "  {'parent': 'B0FFIATUY3',\n",
       "   'address': '翠前北路28号大夏188号商铺内第一层F125号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '22.00',\n",
       "    'opentime2': '07:00-23:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '07:00-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/50923116ffd64664efd03b861d97d06d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cea0ffed764a932bf1bab145c9501537'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5629f474a3102670a3693b70'}],\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '香洲区',\n",
       "   'name': '麦当劳(翠前北路店)',\n",
       "   'location': '113.526057,22.255137',\n",
       "   'tel': '0756-8991212;4000517117',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFF63T2X'},\n",
       "  {'parent': [],\n",
       "   'address': '柠溪路282号柠发商贸城1层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '26.00',\n",
       "    'opentime2': '00:00-24:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '24小时营业',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/50923116ffd64664efd03b861d97d06d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0b7b2d2ada04dbeb45b89fa775a66ebf'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/02a9c69137077c0e0eafacc237656e00'}],\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '香洲区',\n",
       "   'name': '麦当劳(柠溪店)',\n",
       "   'location': '113.557344,22.264482',\n",
       "   'tel': '0756-2771128',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F40ONF1'},\n",
       "  {'parent': 'B0FFIA9QMH',\n",
       "   'address': '九洲大道西2023号中海富华里中心6栋2层203单元',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '11:00-22:30',\n",
       "    'rating': '4.5',\n",
       "    'open_time': '11:00-22:30',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;中餐厅;火锅店',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7608c60a2422c48d75c66e0e51435e84'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c7f4d8e5986efa5990116281eed0811a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f898400fd2aa8daf820f87aec8306556'}],\n",
       "   'typecode': '050117',\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '香洲区',\n",
       "   'name': '八合里牛肉火锅(富华里店)',\n",
       "   'location': '113.541018,22.234708',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0IBHSH5QC'},\n",
       "  {'parent': 'B02F402MQP',\n",
       "   'address': '香湾街道凤凰南路1130号马可波罗大厦',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '35.00',\n",
       "    'opentime2': '10:00-16:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '10:00-16:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/02de41a91d6b1f73ba3beded09bb3b5e'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/957b7c5af0e05c44565886445c3705b5'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8ed35a41bebfc69449f1fca61e20e618'}],\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '香洲区',\n",
       "   'name': '肯德基(凤凰南路店)',\n",
       "   'location': '113.578386,22.276554',\n",
       "   'tel': '4009208801;0756-2115782',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F401ULH'},\n",
       "  {'parent': 'B02F400E8Y',\n",
       "   'address': '景山路免税商场一楼218号',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '30.00',\n",
       "    'opentime2': '00:00-24:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '24小时营业',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/be1d148709c9307f451ec7d293c370c5'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3c1f1367eca421b01cbeeeb80a699f48'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cf64ea8e22533b4bba864a3b10c322fb'}],\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '香洲区',\n",
       "   'name': '肯德基(免税商场店)',\n",
       "   'location': '113.579413,22.255344',\n",
       "   'tel': '4009208801;0756-3374325',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F402LRQ'},\n",
       "  {'parent': 'B02F402ETB',\n",
       "   'address': '迎宾南路1124迎宾广场1层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '26.00',\n",
       "    'opentime2': '00:00-24:00',\n",
       "    'rating': '4.5',\n",
       "    'open_time': '24小时营业',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;麦当劳',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/50923116ffd64664efd03b861d97d06d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2a0663cb8739c7186289487238d5dab7'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0b7b2d2ada04dbeb45b89fa775a66ebf'}],\n",
       "   'typecode': '050302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '香洲区',\n",
       "   'name': '麦当劳(迎宾广场店)',\n",
       "   'location': '113.553466,22.223284',\n",
       "   'tel': '0756-8898345',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F4009DC'},\n",
       "  {'parent': [],\n",
       "   'address': '拱北侨光路37号国泰酒店一层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '38.00',\n",
       "    'opentime2': '00:00-24:00',\n",
       "    'rating': '4.7',\n",
       "    'open_time': '24小时营业',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/be1d148709c9307f451ec7d293c370c5'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9e4fa7942ca763dc6556786bcf540e20'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0fa22626ef3c5ebb530d153cc0967b64'}],\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '香洲区',\n",
       "   'name': '肯德基(侨光路店)',\n",
       "   'location': '113.552504,22.219626',\n",
       "   'tel': '4009200715;0756-8889017',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F40ON2F'},\n",
       "  {'parent': 'B02F40OMHO',\n",
       "   'address': '人民西路仁恒星园商业街一层商铺',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '19.00',\n",
       "    'opentime2': '06:00-23:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '06:00-23:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/be1d148709c9307f451ec7d293c370c5'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1101be9b68dadb3589092760c1967c52'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cf64ea8e22533b4bba864a3b10c322fb'}],\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '香洲区',\n",
       "   'name': '肯德基(仁恒星园店)',\n",
       "   'location': '113.535007,22.267290',\n",
       "   'tel': '4009208801;0756-2608108',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F402VY7'},\n",
       "  {'parent': [],\n",
       "   'address': '前山人民西路633号鸿馨园1层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '42.00',\n",
       "    'opentime2': '07:00-22:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '07:00-22:00',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;大家乐',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/4688cc07cc191527a9b0961243249be7'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5629f458a3102670a369302c'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/016af2b4769410f0572918da6c45f27f'}],\n",
       "   'typecode': '050306',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '香洲区',\n",
       "   'name': '大家乐(鸿馨园店)',\n",
       "   'location': '113.532416,22.266823',\n",
       "   'tel': '0756-8987583',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F40OK06'},\n",
       "  {'parent': 'B02F402Y7O',\n",
       "   'address': '明珠商业广场新美百货1层',\n",
       "   'distance': [],\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '32.00',\n",
       "    'opentime2': '00:00-24:00',\n",
       "    'rating': '4.8',\n",
       "    'open_time': '24小时营业',\n",
       "    'meal_ordering': '0'},\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '珠海市',\n",
       "   'type': '餐饮服务;快餐厅;肯德基',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/02de41a91d6b1f73ba3beded09bb3b5e'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8ed35a41bebfc69449f1fca61e20e618'},\n",
       "    {'title': '菜品',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/72777ffd9fbc4a6455681408afa0f6ed'}],\n",
       "   'typecode': '050301',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '202',\n",
       "   'adname': '香洲区',\n",
       "   'name': '肯德基(明珠路店)',\n",
       "   'location': '113.519968,22.245981',\n",
       "   'tel': '4009208801;0756-8629257',\n",
       "   'shopid': [],\n",
       "   'id': 'B02F402UEF'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 42,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r.json()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "bd0fd252",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "id": "82b061b4",
   "metadata": {},
   "source": [
    "# 2. 搜索poi\n",
    "\n",
    "* 1.关键字（keyword）\n",
    "* 2.分类（type）规范（POI编码表）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "ec4263e7",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
